<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>table-thead,tbody,tfoot</title>
</head>

<body>
    <h1>table-thead,tbody,tfoot</h1>
    <table border="1" cellpadding="10" cellspacing="0">
        <thead>
            <caption>同学通讯录</caption>
            <tr>
                <th>专业</th>
                <th>姓名</th>
                <th>性别</th>
                <th>年龄</th>
                <th>所在城市</th>
            </tr>
        </thead>

        <tbody>
            <tr>
                <td>计算机</td>
                <td>arry</td>
                <td>男</td>
                <td>18</td>
                <td>北京</td>
            </tr>
            <tr>
                <td>软件工程</td>
                <td>bob</td>
                <td>男</td>
                <td>19</td>
                <td>上海</td>
            </tr>
            <tr>
                <td>网络工程</td>
                <td>cathy</td>
                <td>女</td>
                <td>20</td>
                <td>广州</td>
            </tr>
        <tfoot>
            <tr>
                <td>备注</td>
                <td colspan="4"></td>
            </tr>
        </tfoot>
        </tbody>
    </table>
</body>

</html>